package org.loneranger.p1_get_bean.bean;

import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

@Component("mySnake")
public class MySnakeFactoryBean implements FactoryBean {

	@Override
	public Object getObject() throws Exception {
		return new MySnake();
	}

	@Override
	public Class<?> getObjectType() {
		return MySnake.class;
	}

}
